<% content_for :head do %>
  <%= javascript_include_tag "orden_compra" %>
<% end %>

    <div class="contenedorTabla">

      <div class="contenedorTablaHeader">
        <span class="tituloTabla">Agregar Detalle</span>
      </div>

      <div class="contenedorTablaCuerpo">

        <table class="table table-striped table-bordered table-hover table-clientes">
          <thead>
            <tr>
             <th>Item</th>
             <!--th>Descripción</th-->
             <th>QTY</th>
             <th>Precio</th>
             <th></th>
           </tr>         
          </thead>

          <tbody>

             <th><%= collection_select :detalle, :item_id,@items , :id, :nombre_select %></th>
             <!--th id="descripcion"></th-->
             <th><%= text_field_tag :Cantidad %></th>
             <th><%= text_field_tag :Precio %></th>
             
             
             <td><a href="#" id="agregard" class="btn btn-primary btn-mini"  data-toggle="tooltip" data-placement="top" title="Agregar">
                  <i class="icon icon-plus-sign"></i> Agregar
                </a>
             </td>
           </tbody>
          </table>
      </div>

      <div class="footerTabla">
      </div>
    </div>


